package com.lagou.demo.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;

@Service
@FeignClient("lagou-service-user")
public interface TokenFeignServiceI {

    @PostMapping("/token/checkToken")
    public boolean checkToken(String token);
}
